package cn.edu.jxau.lang;

import java.util.HashMap;
import java.util.Iterator;
import java.util.Map;

import cn.edu.jxau.cache.AbstractCache;
import cn.edu.jxau.cache.TTI;

public class Main {

	public static void main(String[] args) {

		AbstractCache<String, Integer> cache = new TTI<>(5, 50000, 1000);
		cache.put("A", 1);
		cache.put("B", 2);
		cache.put("C", 3);
		cache.put("D", 4);
		cache.put("E", 5);
		try {
			Thread.sleep(5000);
		} catch (InterruptedException e) {
			e.printStackTrace();
		}
		cache.put("F", 6);
		System.out.println(cache);
	}
}
